package com.ls.service;

import com.ls.base.BaseResult;
import com.ls.controller.model.serviceChannel.AddServiceChannelModel;
import com.ls.controller.model.serviceChannel.QueryServiceChannelModel;
import com.ls.controller.model.serviceChannel.UpDownServiceChannelModel;
import com.ls.entity.CommServiceChannel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.entity.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengyu
 * @since 2019-12-05
 */
public interface ICommServiceChannelService extends IService<CommServiceChannel> {

    BaseResult add(AddServiceChannelModel model, SysUser currentUser);

    boolean checkServiceChannelExist(Long serviceId, Long chanId);

    BaseResult listByPage(QueryServiceChannelModel model, SysUser currentUser);

    BaseResult upDown(UpDownServiceChannelModel model, SysUser currentUser);
}
